package epam.bookShelf.actions;

import java.io.IOException;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class TestAction extends Action {

	@Override
	public void run (
			HttpServletRequest request, 
			HttpServletResponse response,
			ServletContext context) throws ServletException,
            java.io.IOException
	{
		try {
			context.getRequestDispatcher("/test.jsp").
			forward(request, response);
		} catch (ServletException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
